package io.renren.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.entity.Shippercode;
import io.renren.entity.SysOrderEntity;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-11-10 16:11:11
 */
public interface SysOrderService extends IService<SysOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryByRetailOrMerchantId(Map<String, Object> params);

    SysOrderEntity queryDetailById(Integer id);

    void deliverGoods(Integer orderId, String address);

    void retailPurchase(SysOrderEntity sysOrderEntity);

    void confirmReceipt(Integer orderId);

    List<Shippercode> queryexpressAllApi();

    void sendOrder(HashMap<String, String> params);

    void sendOrders(Integer orderId);
}

